package edu.bu.bga;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.Button;

public class BoardGameAssistantActivity extends Activity {

	private Button queueButton;
	private Button rulesButton;
	private Button settingsButton;

	/** Called when the activity is first created. */
	@Override
	public void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.main);

		queueButton = (Button) this.findViewById(R.id.queuebutton);
		queueButton.setOnClickListener(new OnClickListener() {

			@Override
			public void onClick(View arg0) {
				Intent intent = new Intent(getBaseContext(),
						GetQueueActivity.class);
				startActivity(intent);
			}
		});

		rulesButton = (Button) this.findViewById(R.id.rulebutton);
		rulesButton.setOnClickListener(new OnClickListener() {

			@Override
			public void onClick(View arg0) {
				Intent intent = new Intent(getBaseContext(),
						GetRuleActivity.class);
				startActivity(intent);
			}
		});

		settingsButton = (Button) this.findViewById(R.id.settingsbutton);
		settingsButton.setOnClickListener(new OnClickListener() {

			@Override
			public void onClick(View arg0) {
				Intent intent = new Intent(getBaseContext(),
						SettingsActivity.class);
				startActivity(intent);
			}
		});

	}
}